#pragma once

class CDate
{
private:
    int nDay, nMonth, nYear;
public:
    CDate(void);
    ~CDate(void);
    CDate(int nDay, int nMonth, int nYear);

    int GetDay();
    void SetDay(int nDay);

    int GetMonth();
    void SetMonth(int nMonth);

    int GetYear();
    void SetYear(int nYear);
};
